<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/17
  Time: 19:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<!-- action="user/login"  连接服务端的资源（servlet的映射地址）   -->
<form class="form-signin" method="post" action="login">
    <h2 class="form-signin-heading">Please sign in</h2>
    <div id="div1"> <label for="inputEmail" class="sr-only">Email address</label>
        <input type="text" onblur="getName(this)" id="inputEmail" name="username" class="form-control" placeholder="Email address" required autofocus>
    </div>
    <label for="inputPassword" class="sr-only">Password</label>
    <input type="password" id="inputPassword" name="password" class="form-control" placeholder="Password" required>
    <div class="checkbox">
        <label>
            <input type="checkbox" value="remember-me"> Remember me
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
</form>

</div> <!-- /container -->

</body>
</html>
